package com.cn.xiaonuo.slbfinances.slborders.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 业绩钱包流水
 * @TableName sl_score_wallet_record
 */
@TableName(value ="sl_score_wallet_record")
@Data
public class SlScoreWalletRecord implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 提现编号
     */
    private String no;

    /**
     * 钱包id
     */
    private Integer walletId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 流水来源 0.邀请业绩 1.提现
     */
    private Integer source;

    /**
     * 流水类型 0.入账 1.出账
     */
    private Integer type;

    /**
     * 流水金额
     */
    private Integer beforeNumber;
    /**
     * 流水金额
     */
    private Integer recordMoney;
    /**
     * 流水金额
     */
    private Integer afterNumber;

    /**
     * 流水备注
     */
    private String remark;

    /**
     * 软删除  0.正常 1.删除
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}